package com.cqut.dto;

import com.cqut.util.BeanUtil;

import java.util.Date;

import com.cqut.model.CompetitionManager;

import java.io.Serializable;

import org.springframework.format.annotation.DateTimeFormat;


public class CompetitionManagerDTO implements Serializable {
        
        private static final long serialVersionUID = 1L;
        
        private String competitionName;
        
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date signUpStartTime;
        
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date signUpEndTime;
        /**0 是 1不是*/
        private Integer isMultiStage;
        /**0 是 1不是 **/
        private String propagandaPath;
        /**0 团队 1个人 */
        private Integer competitionType;
        /**0 待审核 1 审核通过 2退回 3暂存*/
        private Integer state;
        
        private String checkUserName;
        
        private Date checkTime;
        
        private String checkRemark;
        
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date competitionStartTime;
        
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date competitionEndTime;
        
        private String competitionImage;
        
        private String competitionMovie;
        
        private String competitionRemark;
        
        private String enclosure;
        
        private Double browseVolume;
        /**0 院级 ，1 校级  2  其他*/
        private Integer level;
        
        private String gameType;
        
        private Integer leastNumber;
        
        private Integer maxNumber;
        
        private Integer priority;
        
        private String hostUnitName;
        
        private String operatorId;
        
        private String competitionApplicant;
        
        public String getOperatorId() {
			return operatorId;
		}

		public void setOperatorId(String operatorId) {
			this.operatorId = operatorId;
		}

		public String getCompetitionApplicant() {
			return competitionApplicant;
		}

		public void setCompetitionApplicant(String competitionApplicant) {
			this.competitionApplicant = competitionApplicant;
		}

		public Date getCompetitionApplicationTime() {
			return competitionApplicationTime;
		}

		public void setCompetitionApplicationTime(Date competitionApplicationTime) {
			this.competitionApplicationTime = competitionApplicationTime;
		}

		public String getCompetitionApplicationNotes() {
			return competitionApplicationNotes;
		}

		public void setCompetitionApplicationNotes(String competitionApplicationNotes) {
			this.competitionApplicationNotes = competitionApplicationNotes;
		}
		
		@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
		private Date competitionApplicationTime;
        
        private String competitionApplicationNotes;
        
        
        private String assistUnitName;
        
        private String hostUnitContactPerson;
        
        private String hostUnitContact;
        
        private String hostUnitContactMail;
        
        public String getHostUnitName() {
			return hostUnitName;
		}

		public void setHostUnitName(String hostUnitName) {
			this.hostUnitName = hostUnitName;
		}

		public String getAssistUnitName() {
			return assistUnitName;
		}

		public void setAssistUnitName(String assistUnitName) {
			this.assistUnitName = assistUnitName;
		}

		public String getHostUnitContactPerson() {
			return hostUnitContactPerson;
		}

		public void setHostUnitContactPerson(String hostUnitContactPerson) {
			this.hostUnitContactPerson = hostUnitContactPerson;
		}

		public String getHostUnitContact() {
			return hostUnitContact;
		}

		public void setHostUnitContact(String hostUnitContact) {
			this.hostUnitContact = hostUnitContact;
		}

		public String getHostUnitContactMail() {
			return hostUnitContactMail;
		}

		public void setHostUnitContactMail(String hostUnitContactMail) {
			this.hostUnitContactMail = hostUnitContactMail;
		}
        
        public String getCompetitionName() {
            return this.competitionName;
        }
        
        public void setCompetitionName(String competitionName) {
            this.competitionName = competitionName;
        }
        
        public Date getSignUpStartTime() {
            return this.signUpStartTime;
        }
        
        public void setSignUpStartTime(Date signUpStartTime) {
            this.signUpStartTime = signUpStartTime;
        }
        
        public Date getSignUpEndTime() {
            return this.signUpEndTime;
        }
        
        public void setSignUpEndTime(Date signUpEndTime) {
            this.signUpEndTime = signUpEndTime;
        }
        
        public Integer getIsMultiStage() {
            return this.isMultiStage;
        }
        
        public void setIsMultiStage(Integer isMultiStage) {
            this.isMultiStage = isMultiStage;
        }
        
        public String getPropagandaPath() {
            return this.propagandaPath;
        }
        
        public void setPropagandaPath(String propagandaPath) {
            this.propagandaPath = propagandaPath;
        }
        
        public Integer getCompetitionType() {
            return this.competitionType;
        }
        
        public void setCompetitionType(Integer competitionType) {
            this.competitionType = competitionType;
        }
        
        public Integer getState() {
            return this.state;
        }
        
        public void setState(Integer state) {
            this.state = state;
        }
        
        public String getCheckUserName() {
            return this.checkUserName;
        }
        
        public void setCheckUserName(String checkUserName) {
            this.checkUserName = checkUserName;
        }
        
        public Date getCheckTime() {
            return this.checkTime;
        }
        
        public void setCheckTime(Date checkTime) {
            this.checkTime = checkTime;
        }
        
        public String getCheckRemark() {
            return this.checkRemark;
        }
        
        public void setCheckRemark(String checkRemark) {
            this.checkRemark = checkRemark;
        }
        
        public Date getCompetitionStartTime() {
            return this.competitionStartTime;
        }
        
        public void setCompetitionStartTime(Date competitionStartTime) {
            this.competitionStartTime = competitionStartTime;
        }
        
        public Date getCompetitionEndTime() {
            return this.competitionEndTime;
        }
        
        public void setCompetitionEndTime(Date competitionEndTime) {
            this.competitionEndTime = competitionEndTime;
        }
        
        public String getCompetitionImage() {
            return this.competitionImage;
        }
        
        public void setCompetitionImage(String competitionImage) {
            this.competitionImage = competitionImage;
        }
        
        public String getCompetitionMovie() {
            return this.competitionMovie;
        }
        
        public void setCompetitionMovie(String competitionMovie) {
            this.competitionMovie = competitionMovie;
        }
        
        public String getCompetitionRemark() {
            return this.competitionRemark;
        }
        
        public void setCompetitionRemark(String competitionRemark) {
            this.competitionRemark = competitionRemark;
        }
        
        public String getEnclosure() {
            return this.enclosure;
        }
        
        public void setEnclosure(String enclosure) {
            this.enclosure = enclosure;
        }
        
        public Double getBrowseVolume() {
            return this.browseVolume;
        }
        
        public void setBrowseVolume(Double browseVolume) {
            this.browseVolume = browseVolume;
        }
        
        public Integer getLevel() {
            return this.level;
        }
        
        public void setLevel(Integer level) {
            this.level = level;
        }
        
        public String getGameType() {
            return this.gameType;
        }
        
        public void setGameType(String gameType) {
            this.gameType = gameType;
        }
        
        public Integer getLeastNumber() {
            return this.leastNumber;
        }
        
        public void setLeastNumber(Integer leastNumber) {
            this.leastNumber = leastNumber;
        }
        
        public Integer getMaxNumber() {
            return this.maxNumber;
        }
        
        public void setMaxNumber(Integer maxNumber) {
            this.maxNumber = maxNumber;
        }
        
        public Integer getPriority() {
            return this.priority;
        }
        
        public void setPriority(Integer priority) {
            this.priority = priority;
        }
        
        public CompetitionManager toModel() {
            CompetitionManager model = new CompetitionManager();
			BeanUtil.convert(this, model);
			return model;
        }
    
}